package org.itboys.seller.entity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 店铺拥有的菜单
 * @author weisky
 *
 * 2016年4月8日
 */
@Entity(value = "SellerMenu", noClassnameStored = true)
public class SellerMenu extends BaseSellerEntity{
	 
	private static final long serialVersionUID = 8142411695982306734L;
	
	@Indexed
	private Long sellerId = 0L;
	private String menuName;
	private String url;
	private Long parentId = 0L;
	private Integer level;
	private Integer sort;
	private String fullPath;
	private String fullNamePath;
	private String menuClass;// 菜单样式
	@NotSaved
	private Long _parentId;
	
	public Long get_parentId() {
		return this.getParentId();
	}
	public void set_parentId(Long _parentId) {
		this._parentId = this.getParentId();
	}
	public Long getSellerId() {
		return sellerId;
	}
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public String getFullPath() {
		return fullPath;
	}
	public void setFullPath(String fullPath) {
		this.fullPath = fullPath;
	}
	public String getFullNamePath() {
		return fullNamePath;
	}
	public void setFullNamePath(String fullNamePath) {
		this.fullNamePath = fullNamePath;
	}
	public String getMenuClass() {
		return menuClass;
	}
	public void setMenuClass(String menuClass) {
		this.menuClass = menuClass;
	}
}
